package com.example.demo2.entity;

public class ApiResponse<T> {
    private int code;
    private String data;
    private String message;

    public ApiResponse(int code, String data, String message) {
        this.code = code;
        this.data = data;
        this.message = message;
    }

    // getters and setters
    public int getCode() { return code; }
    public void setCode(int code) { this.code = code; }
    public String getData() { return data; }
    public void setData(String data) { this.data = data; }
    public String getMessage() { return message; }
    public void setMessage(String message) { this.message = message; }
}
